Semi-Dynamic Shortest Paths and Breadth-First Search in Digraphs

نویسندگان

  • Paolo Giulio Franciosa
  • Daniele Frigioni
  • Roberto Giaccio
چکیده

In this paper we study the problem of maintaining a single source shortest path tree or a breadth-rst search tree for a directed graph, in either an incremental or decremental setting. We maintain a single source shortest path tree of a directed graph G with unit edge weights during a sequence of edge deletions in total time O(mn), thus obtaining a O(n) amortized time for each deletion if the sequence has length (m), where n is the number of vertices of G and m is the initial number of edges of G. To the best of our knowledge, this is the rst known decremental algorithm for directed graphs with unit edge weights that is asymptotically faster than recomputing the single source shortest path tree from scratch after each deletion, which can be accomplished in O(m 2) total time. This result is extended to handle the case of integer edge weights in 1; C], allowing to maintain a single source shortest path tree during a sequence of edge deletions in total time O(Cmn). We also show how maintain a breadth-rst search tree of a graph G during a sequence of edge insertions or during a sequence of edge deletions in total time O(nm), where m is the nal number of edges of G in the case of insertions or the initial number of edges of G in the case of deletions. These are the rst results concerning the dynamic maintenance of a breadth-rst search tree.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Randomized Parallel Algorithm for Single-Source Shortest Paths

We give a randomized parallel algorithm for computing single-source shortest paths in weighted digraphs. We show that the exact shortest-path problem can be efficiently reduced to solving a series of approximate shortest-path subproblems. Our algorithm for the approximate shortest-path problem is based on the technique used by Ullman and Yannakakis in a parallel algorithm for breadth-first sear...

متن کامل

On-line and Dynamic Shortest Paths through Graph Decompositions

We describe algorithms for finding shortest paths and distances in a planar digraph which exploit the particular topology of the input graph. We give both sequential and parallel algorithms that work on a dynamic environment, where the cost of any edge can be changed or the edge can be deleted. For outerplanar digraphs, for instance, the data structures can be updated after any such change in o...

متن کامل

Fully Dynamic Algorithms for Maintaining All-Pairs Shortest Paths and Transitive Closure in Digraphs

This paper presents the first fully dynamic algorithms for maintaining all-pairs shortest paths in digraphs with positive integer weights less than b. For approximate shortest paths with an error factor of (2 + ), for any positive constant , the amortized update time isO(n2 log n= log logn); for an error factor of (1 + ) the amortized update time is O(n2 log3(bn)= 2). For exact shortest paths t...

متن کامل

A Randomized Queueless Algorithm for Breadth-First Search

First Come First Served is a policy that is accepted for implementing fairness in a number of application domains such as scheduling in Operating Systems [28, 11], scheduling web requests and so on. We also have orthogonal applications of FCFS policies in proving correctness of search algorithms such as Breadth-First Search and the Bellman-Ford FIFO implementation for finding single-source shor...

متن کامل

Generalized Adaptive A*

Agents often have to solve series of similar search problems. Adaptive A* is a recent incremental heuristic search algorithm that solves series of similar search problems faster than A* because it updates the h-values using information from previous searches. It basically transforms consistent hvalues into more informed consistent h-values. This allows it to find shortest paths in state spaces ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997